package com.me.myFramework.myAop;

/**
 * 自己实现AOP：目标类
 *
 * @author ME
 * @date 2021/9/26
 */
public class Switch implements IBuy {

    @Override
    public String buy(String personName) {
        System.out.println(FORMAT.format(new String[]{personName, "任天堂Switch"}));
        return "Switch";
    }

}
